USE [Training]
GO

IF NOT EXISTS (SELECT * from dbo.sysobjects WHERE id = OBJECT_ID(N'dbo.training_api_PositionUpdate'))
	EXEC('CREATE PROC dbo.training_api_PositionUpdate AS')
GO

ALTER PROC dbo.training_api_PositionUpdate
	@Title		nvarchar(200),
	@PositionID	int
AS
	UPDATE Position
	SET
		Title = @Title
	WHERE
		PositionID = @PositionID
